package com.dcy.decorator.mydecorator;

import com.dcy.decorator.Drink;

/**
 * @Author：dcy
 * @Description: 牛奶调味品
 * @Date: 2021/1/22 8:39
 */
public class Milk extends Decorator {

    public Milk(Drink drink) {
        super(drink);
        setDes("牛奶");
        setPrice(2.0f); // 调味品的价格
    }
}
